fixed parsing a url instance for some types of salesforce urls