This can be replicated using the `RpcReconnectTests`.
The current "fix" is to retry 3 times on such an exception.
The exception received on the client side is “invalid credentials”. But on the next attempt, with the same credentials it works fine.
It is basically a race.