fix(login-form): Login dialog not opening properly after external close.

When the login dialog is closed by clicking on the backdrop, it was not properly removing the loginDialog object so the next time it failed to open the login form.