Fix query string in cordova url when finishing oauth