Keep environment for cloner in apply test sudo

The zuul cloner needs the ZUUL_* env vars when setting up projects
for the new apply integration test.

Also, add some more debugging to both versions of the test.

Change-Id: I486b19cecd034250068e4a59604e1e0ca90ed83d
Merge "Keep environment for cloner in apply test sudo"