Replace password to "***" in the debug message

Use regex pattern to replace password to "***" for both env vars and
request body output

Fix bug 1166697

Change-Id: I671ea25cca78b4dea1fbf2e63c89b82912279f2d
Merge "Replace password to "***" in the debug message"