Add some logging
Clean up: It’s persistentId, not persistent_id
Fix: "logout" HTTP parameter is required for action=Logout