Modified auth response to handle Phonegap bug in app.