Automatic login

Instead of showing the "Not connected" message and "Connect" button, actually attempt to perform login via a popup window, potentially even completing the login without user intervention.