
If there is a matching .netrc entry requests will silently override already existing authorization headers by that entry with basic auth [1]. This breaks the authorized admin api and can be solved by using a custom authentication helper class. [1] https://github.com/psf/requests/issues/3929 Change-Id: Ic3c7f4a2e8496b4e7cc57335187b935bb245c0d2