Make test domain name consistent with TestRequest
Move all api started certificate generation to queue

There was still too much work being done in the request to make
a certificate import feasible. This should speed up the queuing of
imports.