Improved the authentication workflow in the Connect app. Although there is still room for improvement.