add support for auth
Merge branch 'master' of github.com:IMQS/js-base