Don't leak database passwords in the logs

Fixes #2953