Login improvements.