Login form initial state. Closes #2505.