Appeals court twice rejects discrimination and defamation claims by an employee fired for working with an unapproved contractor.