shell script illustrating proper auth setup for API clients