Changed password hashing with new tests.