Added action to retrieve authentication token for API calls.