Bugfixing authentication + adapters
Merge pull request #9 from wagnert/master

Bugfixing authentication + adapters