Keep query parameters through login process