I've noticed that when using this contribution the spiders like Googlebot would not be allowed our website restricted category and are redirected with a 302.
so I've created an spider detect script to allow the spiders to the restricted categorie.