Redact Coursier credentials from configuration
Created by: varungandhi-src
- First commit is a no-op cleanup that enables the second commit; the commit message explains the rationale behind the refactoring.
- Second commit is a small tweak and the main change I wanted to make.