Temporary fix for CAPTCHA problem: unexpected result from hook_captcha() of module when trying to retrieve challenge type for form user_login_form.