return None on failure when fetching access token