[options] Correctly hide login info from debug outputs (#13696)
Iterate over opts instead of PRIVATE_OPTS for both performance and correctness
This commit is contained in:
Iterate over opts instead of PRIVATE_OPTS for both performance and correctness