Add support for saving JWT tokens on agents.