e43c2ed924
The API client was redirecting to /login on any 401 response, including the checkAuth() call in the layout. This caused a redirect loop that cleared the token. Auth redirects are now handled solely by the layout's checkAuth() flow. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>