Changed constructor to test for is_null instead of empty expiresIn value
so that a value of 0 can be passed in as the expiresIn