Testing the login dialog