The invalid HTML this was leading to meant that when the proxy in front of the catalogue parses and re-renders the HTML to insert the sign-in links etc, the document structure got all muddled. It now remains correct at all times.
EMC-143
Closes EMC-143