Fix user login bug and redirects [completes #67691418]