Change duration given to /certification/sign to be in milliseconds.

Fixes #1178. This required a slight test fix because the "checkDate" was based on the certs exp time, not the assertion part, which is now the shorter bit.

@nchapman @vladikoff r?