#JC-2036:User can't register without entering captcha now.
Added null checking for captcha session key before validating