OSX 10.8.2, Xcode 4.5.1, iOS Simulator 5.0, 5.1, 6.0, cordova 2.2
I am seeing the same issue as reported in CB-2284 also in iOS. Ajax calls with Authorization header set are not returning but are timing out when the authorization credentials are invalid.
Add mobile-spec test for ajax error/fail callback being called after server returns 401 Unauthorized
Basic auth filetransfer tests not complete
IOS - Ajax Return Code 401 let app crash
phonegap doesn't call ajax callbacks when server sends 401 status