Fix incorrect use of local user name for trusted submissions.