fixes multisite logout issues