Hide environment variables in log for unit testing.