Increase max length of simple_captcha to 12

In response to issue #5157 i increased the max length of the captcha value field to 12, i also added a check to make sure the value is within the valid range