upload_servers: add a debug mode, and hide sensitive information when not in it