Fixed getChallengeCode url generation