Change some name resolution log messages to error messages.
Remove excess logging.
Remove sensitive data as soon as possible.
Be even more careful about the lifecycle of the password.