Connect returns a connection to the server.
If there is an auth provider configured, the connection will be authenticated with the configured credentials.
Login logs in using the configured authentication provider.
If manualLogin is true, the user will be given a URL to paste in a browser window,
else a browser window will be opened automatically.