Added basic OAuth stuff to Phonegap