Fix a small convertion issue for integers and hashed passwords
