Set redirect on login.