Improved the authentication workflow in the Connect app. 

Although there is still room for improvement. We will fix that before the next release.