Generate JWT signature for each retry
Otherwise, the token expires after some time and request fails.
Found while investigating #497 (closed).
Otherwise, the token expires after some time and request fails.
Found while investigating #497 (closed).