Hi,
have you tried setting the token value for the requests explicitly rather than the proxy getting it? As you can only generate the token for a fixed amount of time you may want to dynamically get a token at the start of the session and apply it to any layers / tasks that you're using rather than hard code it.
Cheers,