This is mostly a debugging problem since this probably only happens when the docker images/volumes are emptied and invalid user information from previous sessions are picked up by the client.
In any case, if this happens it should be detected and the user info deleted to force a new login.