Fixed behavior of user login dialog.

Dialog now exits the application if closed at launch.
Dialog now respawns if an empty user name is submitted.
Dialog now does not change name if closed after "change name".