fix: #3589891 Allow altcha validation when using REST/JSON requests (e.g. through decoupled fronteds / drupal rest api)

Closes #3589891

Merge request reports

Loading