AGJS-152 - Return the jqXHR created by jQuery.ajax to be used as a promise in Oauth2 validate