ZAP always does what you tell it to, you just have to tell it in the right way :)
The baseline scan will use the ZAP_AUTH_HEADER_VALUE env var.
The very first thing I'd do is to make sure that yout token is getting through to the command line.
Create an env var (e.g. called 'envtest') in the same way that you've created the 'token' above.
Then run like:
docker run -e ZAP_ENV_TEST="Test $(envtest)" -it
softwaresecurityproject/zap-stable:latest env
Do you see the right value in ZAP_ENV_TEST?
If not then the problem is with the way you have set up your token.
If it looks ok then its something else.
Note that authentication is hard :/
You have chosen to handle authentication yourself, so you have to get it exactly right.
Cheers,
Simon