Fix #1626 "reCAPTCHA doesn't show anymore"

- we were using obsolete API URLs
Fix #1627 "reCAPTCHA validation causes XForms error"
Minor: unneeded code