Add tenant_id getting in integration tests

Added ability to get Tenant id if it is not specified in parameters.

Change-Id: I64f80de94a3b4392506ce31a93b4490c14f1ef4c
Closes-bug: 1301466
Merge "Add tenant_id getting in integration tests"