Revert "fix password hash logic"

This reverts commit 5320de05d1b19dfff6001077b8627a0e567e0e01.