The need for heightened security has brought delays, higher costs, and other fallout for airlines and passengers alike.