web: reject worker tokens from web views
Workers are generally expected to use the API rather than the web UI.
the known exception is DownloadPathView, which workers use to
download artifacts.
Add an allow_worker_tokens flag to BaseUIView, defaulting to
False, and enable it for DownloadPathView.
also add a test covering the default rejection of worker tokens in web views
fixes: #1410 (closed)