[Auth] Fixes: Redirect to referer after login does not work.