changed url in instance.accessEndpoint to be https

getAccessToken was failing on cf9 implementation because non https requests were forbidden on this url.