well the only reason that if clause would not be triggered is as I posted you allow captcha for guests in the config settings.
You can try changing this
Code:
Content visible to verified customers only.
to simply this
Code:
Content visible to verified customers only.
I am using the default code and you see what you get on my site.