Use default mainWindow for login to try fix failing unit test
Merge pull request #92 from markewallace/UseMainWindowLogin

Use default mainWindow for login to try fix failing unit test