Add focus changes to LoginWindow.