Enhancement/captiveportal

Make captiveportal test use the HTTP test template #277