Use faster password hasher in unit tests

Reduces testing time by 18% (420s->344s)
Merge pull request #808 from maurizi/speedupTests

Use faster password hasher in unit tests