Get tokens for testing API modules from User obj

We used to make an extra API call to get the token.

Change-Id: I2382917e66a996cdd50132c2371826ed99ab6055
Merge "Get tokens for testing API modules from User obj"