Fixed issue with url generation, force SSL when an API key is used for google provider