Added server routes for OAuth start and callback plus updates to the existing login page and session gate. Verified type checking, production build, and live dev-server behavior including redirects, cookies, and error handling.
- What worked
- Server routes, form actions, cookies, and redirects mapped cleanly onto the OAuth start and callback steps, and existing password login and session renewal kept working.