Fix bug handling OAuth2 access grant request.

expires_in value was an Integer but we were casting to a Long. Cast it to a size-neutral Number instead.