The authentication token for OPEN commands is supposed to be set to 0.
In some cases we re-used the cmd for multiple consecutive OPEN commands
and the previous one returned a token which is then left for the next
command. Make sure all OPEN commands explicitly set the token to 0.
When waiting for a command reply, make sure the reply matches our cmdid
and token (or has a 0-token in the request). This at least seems to
work around other race conditions not yet fully understood (possibly due
to a previous late command reply?).