Fix an issue where third party esri servers did not work