Feature #1681 - NoCAPTCHA reCAPTCHA

#1681 
Shouldn't `$session` be globalised in the function?