Don't render categories on special pages or if none

Categories was showing up on login page

Change-Id: I98ec87ca9560f1af75effdd17e9ebad782cc83cc
Merge "Don't render categories on special pages or if none"