Add credential to URL for PhoneGap/Cordova support