Presume we're talking about IAD here?
The individual in question -- whatever his national origin or ethnicity -- had presumably been screened at a TSA checkpoint. With some extremely rare exceptions, that's it in terms of physical security for departures.
The BP / flight mismatch should not have ocurred, but that's for passenger count / weight & balance reasons as well as for document checks to protect UA from transporting inadmissible pax.