Proper keyboard management in login screen.