I0da671a5 broke the FancyCaptcha reload script for the old auth
forms, and didn't get it quite right for AuthManager forms either
(that one mostly works but the textfield is not refocused).
This patch fixes both.
Change-Id: I78300a4f6998e63e71e4516331f4f3408b86864b
Also update MathCaptcha so that it works with recent versions of
Math (and breaks with old ones). Also fix MathCaptcha API output,
which used to send the question in plaintext.
Bug: T110302
Change-Id: I0da671a546700110d789b79a3089460abd9cce3b
Depends-On: I8b52ec8ddf494f23941807638f149f15b5e46b0c
There can be more then one CAPTCHA on the page in AJAX scenarios,
so it's important one reload not affect separate CAPTCHAs.
Also, drop the legacy createacct naming, except for the one
that is actually specific to CreateAccount.
The following patch must be merged immediately after this:
* Core - I8924d537cad3e39adace99fb20626247128d9bd9
Change-Id: I0e55a159efd66a73cd217d9a5e86b2bced90f57a