Minor security fixes
A bug in our category / space cache is resolved. On large wiki instances with high load, space links belonging to an other user could appear in the spaces-in-category macro. Note: This situation occurred very rarely. An actual space was never viewable for an unauthorized user, only the link to it.