Kill the unused CAPTCHA code

This needs significant testing before merging, leaving this here for now.

CAPTCHA code on failed logins and registrations to the tool was added by Chris 4 years ago, but this has been broken for ages and never used. This change removes that feature.