Fixes to basic auth tests
Fixes for crypto hashing
Merge pull request #60 from jembi/auth-tests-fixes

Fixes to basic auth tests