Redirector and onLogin are extended to support remember-me and others