Start of unit tests for api-lib (test re-auth on 401); invoked by python setup.py run_tests

Change-Id: I18151c3f7c36c622dc3828c89683c4ae35b0bc95
Merge "Start of unit tests for api-lib (test re-auth on 401); invoked by python setup.py run_tests"