oras-go v2.6.1 fixes ServerAddressFromRegistry to correctly normalize
registry-1.docker.io to https://index.docker.io/v1/. The Login() function
had a redundant ServerAddressFromHostname call added as a workaround for
that oras-go v2.6.0 bug. Remove it now that the upstream fix is in place.
Fixes#31386
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: GitHub Copilot <copilot@github.com>