Avoid traceback with insufficient auth credentials

Raise an exception if configured credentials are not sufficient
for obtaining an endpoint and token.

Change-Id: Ie11a25eb67da2d2c2c8ef40ab984eb2ecb77fdf9
Closes-Bug: 1290601
Merge "Avoid traceback with insufficient auth credentials"