Ensure that l3 agent creates client session if necessary

Fixes bug 1157090

Change-Id: I2ead0ef949d272bd512c913b3be992f66ee99437