Fixed issue with "my" instances

Fixes issue with instances in the form https://instance.my.salesforce.com