DATAMONGO-601 - Prevent password from being logged in case of an exception.