Fix logout links and headers.