Read index credentials from env for `uv publish` (#15545)
We were previously missing the
`index_locations.cache_index_credentials()` call in `uv publish` to load
index credentials from the env.
See https://github.com/astral-sh/uv/issues/11836#issuecomment-3022735011
Fixes #11836