AGJS-239 Promisfy Authorization

https://issues.jboss.org/browse/AGJS-239

* replaced jQuery.mockjax with Sinon.fakeServer

To be applied after https://github.com/aerogear/aerogear-js/pull/146
yea, that's right, thanks for explanation