If you are getting a 401 error that could be caused by insufficient permissions, can you check the permissions assigned to that user (ie. "global" - "superuser")
Sample Python code that I just tested on 4.1.2
https://colab.research.google.com/drive/1vDLnyIY5YeED-EhqIuu7wzWIJ7aPnzPN?usp=sharing