Attempted fix for session cookie deletion.