Fixed environment variable config override logging behaviour to avoid logging passwords.