How is a CAPTCHA checked for the frontend customer registration form?

See also: