Added login.redirect support

login.redirect is saved in $_SESSION and can be used to redirect a user elsewhere if they can auth