Check user certificate expiration date before doing myproxy-delegation. ...

...Fixes #3961