Fix casting of AgentToken to make CI/CD tunnels work
It seems that the CI/CD tunnels were broken, because of a "casting" issue.
It could have also been solved by changing the factory code, e.g.:
-key := api.AgentToken2key(agentToken.(api.AgentToken))
+key := api.AgentToken2key(api.AgentToken(agentToken.(string)))
However, it's probably best to align with the other implementations of
the KeyToRedisKey
functions.