Add a custom visibility provider for showing menu items if and only if users are either authenticated or anonymous.