The rest client interprets the UTC expiration time as local, meaning that e.g. in the CERN timezone you can't use a proxy with a lifetime of < 1hr.
The action is here
we should be using
as it stands the "Ugly hack for Python 2.4" is invoked and gives the wrong answer.