system-test: check that we respect the Vary: User-Agent header