Fix ManagedAuthenticatedEncryptor not round-tripping payloads correctly.