Fix bugs introduced in c7ff64b588b96379d969be0055c836ba656a8fdf
Show content type icons to authenticated users only

Refs. https://colab.interlegis.leg.br/ticket/2972