HUB-47 : Added hAuth actor tests and refactor auth code
Minor bug fixes in authentication
Merge pull request #10 from bnadim/master

added authentication unit tests
Merge remote-tracking branch 'upstream/master'
Code refactoring : Add comment and remove unused cb