c91f29d542
The App.tsx auth flow had needsSetup check before dev mode redirect, causing needsSetup to remain null in dev mode (since the setup fetch is skipped), which made the component return null instead of redirecting. Fix: check needsSetup only in production mode, after dev mode guards. Dev mode redirect to /login now works regardless of needsSetup state. This fixes the App.test.tsx "Dev login selector" test failure. Co-Authored-By: Paperclip <noreply@paperclip.ing>