Fix OAuth for Phonegap