Fixing bug in including captcha -refs #6373