Require auth for /explore and /help when public visibility is restricted

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Related to (extension of) gitlab-ce#3508

When public level is restricted on an instance, groups and projects are not public. This can lead to confusion when the /explore page is empty and it can also be undesirable since all other aspects of the GitLab instance are private. We should require authentication on the /explore and /help endpoints in this case.

cc/ @DouweM What do you think?

Edited by 🤖 GitLab Bot 🤖