Steps to reproduce:
- Skip the wizard
- Create a static agent and connect it
- Create a freestyle job 'fs' running on the agent and add this shell step:
- Start a build
- Navigate to http://localhost:8080/job/fs/ws/ and click 'all files in zip'
Fairly reliably, reloading the page will then show the login form.
This only happens for agent workspaces, not archived artifacts or master workspaces.
It also seems to start in 2.275 (with both the SECURITY-1452 fix and Acegi Security), isn't in 2.263.2.