Throws error when req.login callback function is missing (and is using session).