Hard code to v3 API

The older keystore client doesn't support the discovery API.

Change-Id: If6883171ead472308c820e6e9b49639bff54f53d
Handle no leader role existing

Change-Id: I24938fc924fd80a4a11668a097770bbeed110a2c