Fixing anonymous access to resources caused by previous authentication fix.