Fix logout error on Admin site