Fix #13305 docker authentication broken caused by docker.py update
Merge pull request #13463 from victorlin/bugfix-13305-docker-auth-issue

Fix #13305 docker authentication broken caused by docker.py update