Converted LoginDialog to use JFrame so that it gets taskbar icon