Encodes password hash before passing it to bcrypt
Merge branch 'pw_hash_encode'