Fix utils.py to work with the new keystone client

This allows measurement_test.py to run

Change-Id: I2c097935442d2e6eca2c290cfb4329ec995b0b17
Merge "Fix utils.py to work with the new keystone client"