Stats small bugfixes
Fixbug to allow anon user to see resource with header