if (this.response == null) {
V2AuthRequest request = new V2AuthRequest();
request.auth = new V2AuthRequest.V2AuthCredentials();
request.auth.tenantName = project;
V2AuthResponse responseChallenge = identityClient.doLogin(request, certificateAndKey);
String challenge = responseChallenge.challenge;
V2AuthRequest.ChallengeResponse challengeResponse = ChallengeResponses.respondToAuthChallenge(
certificateAndKey, challenge);
request.auth.challengeResponse = challengeResponse;
V2AuthResponse response = identityClient.doLogin(request, certificateAndKey);
this.response = response;
}
return this.response;
}