AjaxTest show Basic Auth functionality with Cordova and jQuery ajax on iOS.