To test the DESaccess login API and general programmatic access pattern, try the following. Define environment variables as shown, inserting your username and password. Then run the Python script to test that you can authenticate and fetch an API access token.
export DESACCESS_API_BASEURL=https://des.ncsa.illinois.edu
export DESACCESS_API_DB=desdr
export DESACCESS_API_USER=
export DESACCESS_API_PASS=
python desaccess_api.py