Modified serialization of ExternalLoginToken to get around weird PHP session bug https://bugs.php.net/bug.php?id=62836