[FIXED JENKINS-19623] getCategoryProjects without permission checks

[JENKINS-19623](https://issues.jenkins-ci.org/browse/JENKINS-19623) fix that should be safe for folders, unlike #6.