fixed a bug that session would not be cleaned after the Captcha::check method