fixed requestAccessToken to allow additional calls after the popup is closed