Make varnish work somewhat on CentOS 7, fix broken tests.