Moved /sign-in /sign-up auto-redirect to onBeforeRun