When you reticket, just tell them that I. Lastname is the name on your friend's passport. They should then reticket. At check in, if they give you a problem, just ask them to SSSS your friend. Would not expect any issues at immigration, it's just US based UA check-in and security entry.