Fix logout in management ui.

Closes #38