Redirect is triggered before session is available - Better Auth