Use correct auth config when logging in.
Merge pull request #2165 from jrydberg/master

- Registry: Use correct auth config when logging in.