[Auth] Fixes: Wrong redirect after login

(refs #5499, gh-59)