Logged In: YES
user_id=281536

Sometimes? That behaviour might me related to the installed
versions of libxml and XML::LibXML. Which versions do you
use here?