[webui] fixes login in anonymous-off mode (issue #823)