Fix PHP 5.3 closure bug in the captcha service provider