system-test: add ability to autogenerate host credentials

The existing test cert has expired, so we need this patch to allow system-test to work in 2.6.