Fixes the login popup to close before the details are entered.

Jira issue: APPPARTY-49