Fix logout in admin page.