refactor(login redirect): simplify login scenarios