Fixed logout errors when PHPSSID was not set