Finished tests for login dialog.