fix #3485: requests to gc.com although deactivated

Also, refactor code so that the login request (if needed) done when
retrieving the map tokens is done directly from the connector.