Hide Activity Tab when group home page exists

Hide Activity Tab if the group has a home page and the visitor couldn't
actually visit the activity tab (private group and not logged in or not
a member)