Refactor to use oauth2 and deal with the weirdness of HubSpot's oauth implementation.