Provide req.query to the login template