Created the login dialog.