[webui] fix adding roles to existant users (fixes #326)