Add support for Cordova/PhoneGap with InAppBrowser

This fix allow clients using PhoneGap and Cordova login with the same function. 
Tested: Works on desktop browser, Cordova, Phonegap with Meteor <= 0.8.0
To use the function, install Cordova plugin "org.apache.cordova.inappbrowser"