49aa6ac989
Fixes E2E race condition where setSession and setInitComplete are batched by React concurrent rendering, causing redirect to fire before session is set. The sessionAttempted flag tracks "did we try" so redirect only fires when there was NO attempt, not when the state update is pending. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>