[XC-31] fixes for recaptcha validation