If the alternator nut was loose it would run badly pretty much all of the time not just when the lights were turned on. I would check the casing on the l/h side and see if there's new sealant on there which would indicate that it's been removed and probably tightened though, or ask the dealer(s) who serviced it