Fixed issue which allows NaN to be passed to exp and iat

This caused us to generate tokens which did not work because exp or iat would be set to null.