I have the same issue, started yesterday evening:
trading_ig.rest.IGException: HTTP error: 401 {"errorCode":"error.security.oauth-token-invalid"}
I run everything via git/container and therefore confident I have not changed anything.
I do run multiple sessions (3x) using the same account, wondering if this is now being stopped.
I have not had a single issue for more than a year.