Add support for access tokens without expire date

I came across an error when trying to get a permanent access token from a temporary. This should fix errors that look like this:

    strconv.ParseInt: parsing "": invalid syntax