Refactor cURL code to retrieve access token for Test Blippar application