Fix a bug with bcrypt_get_hash and bcrypt_is_equal returning the previous result