modify captcha plugin to supoort login form check