Fix run_as() debug logging