fix #5971: admin menu is visible only if connected and user has role manager