Fix unexpected captcha iden in response of successful API calls.
Fix unexpected captcha iden when API call fails and captcha is not needed.