Add login/logout button as in old version, maybe using @joern's https://github.com/eXist-db/existdb-login component.