[webui] Fix main view without a logged in user