...
Also, the property auth_token_key should be set up in the poller configuration.
Another potential cause of a 401 error is the linux system clock on the Poller being too far out of sync with the Primary. in this case, you may see an error similar to below, where the auth.log is saying the token has expired. Ensuring the clocks are in sync will resolve this issue.
Configuring a poller over https
...