Fix type of encrypted_password