Minor Login form refactoring.