Only use agent proxy when identities are available.