fix null expiresIn, use array_key_exists instead of isset as isset returns false when the value of the array key is null, fix for issue #18