Fix handling of logentries token