Fix ManagedAuthenticatedEncryptor not round-tripping payloads properly.