Fix logout test