Use the new object_metadata_add endpoint instead of origin_metadata_add.
Note: this changes the authority type from 'deposit_client' to 'deposit', so we'll have to run a migration on the storage at some point to make that consistent.
Test Plan
tests will fail until swh-storage!446 (closed) is merged
Migrated from D3491 (view on Phabricator)