If there are no credentials, calling `client.authenticate` opens a browser window prompting the user to authenticate. If there are credentials, this method silently succeeds. The credentials are saved for future use on line 44.