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
this is basically the spec,  it is not secure to say what the error is

before mentioned PR will remove these