Fix crash on 'PUT Col-IRI'
The default implementation in APIBase expect all endpoints to have 'collection' and 'deposit_id' set, but 'deposit_id' is not set when 'PUT Col-IRI' is used.
Resolves Sentry issue SWH-DEPOSIT-24
Migrated from D5744 (view on Phabricator)