Minor bug fixes to LoginActivity