TypeError: sha1(): Argument #1 ($string) must be of type string, null given

I updated my initial reply with further details on the corruption i notice, and a new ways to detect it and remove it from the oc_authtoken table for all users.