fixed #195
added more tests
Merge pull request #450 from giastfader/master

fixed #195 - Registered users should have access to anonymous resources