Hashes passwords using bcrypt