Redesigned next params for login.