test_proxyquery: chain-call `api` auth tests

Tests for api/1.0 execution method, involving chain-called jobs and
various combinations of permissions and file/object usage.