software/caddy-frontend/test: use resource.Session as context manager

this prevents ResourceWarning because this way the sockets are closed
1 job for 1.0
in 0 seconds, using 0 compute credits, and was queued for 0 seconds