Allow retrieval of collection owner_id from request headers.

Currently it's retrieved from the URL path.