deposit: Check created metadata is visible from the public API
First step toward swh-deposit#3985 (closed).
For now, this only checks the metadata exist, so it wouldn't catch the current corruption issue yet.
Migrated from D7278 (view on Phabricator)