Storing JWT of API during acceptance testing

I’m writing a custom terraform provider, using the plugin framework. To communicate with the API, we first need to request a JWT. However, 10+ jet requests in a short span of time causes the account to be blocked for a couple of minutes, which happens during acceptance tests because every test step seems to create a new client.

Is this indeed the expected behavior during tests? If so, what could be a way to store this JWT between calls to reuse as long as it’s valid?