12996b657b
The response interceptor treated every 401 as an expired session and redirected to /login. For the login/register/refresh requests themselves a 401 just means bad credentials, so the redirect reloaded the page and discarded the error toast. Skip the refresh/redirect path for auth endpoints so the form can show its error. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>