The lawsuit said the airline should have completed a rigorous security screening for pilots before the plane departed.