Adding OAuth2 with Cordova sample