AGJS-239 Promisfy Authorization

https://issues.jboss.org/browse/AGJS-239

* replaced jQuery.mockjax with Sinon.fakeServer

To be applied on after https://github.com/aerogear/aerogear-js/pull/146