Adding utility method to APIClient

    - temporary_credentials acts as the credentials method
      but only for a context