[fix bug 974011] Fix logout button in Admin Panel.