Ensure clear_encrypted_attributes be called even in validation or api failures.