captcha: fix a few issues, make captcha work again