Ticket in credential is incorrect if user specifies the host name and Display ticket as options for the login command
If you specify the host name in the login options, the credential object appears corrupt as it returns the status message instead of the ticket hash string.
Expecting credential object to contain something like 5C484026EF62D950871920709EF0D3E9 but cred.Ticket value actually contains the status message “Success: Password verified.” if host name is specified
This is because you specify the host name in the login options, you do not need to do this to log in on the local machine. If you do not pass a machine name, it works correctly