It annoys me a little bit when people say stuff like that (I can also really relate to nick007's comment), but not as much as it seems to bother your husband. I usually just say "yes, thanks" and try not to prolong the conversation.
I'm much more bothered by people's comments when I cook something. You know, over-exaggerated comments like "this is the best x that I've ever had, mmm-mmm yum" bother me. I don't mind people saying something small, like "this is good" or "thanks for making this", but when they go on and on about how good it is and make all kinds of sound effects, it really grates on my nerves. I'm not really sure why, other than maybe because it seems fake or maybe because I can't eat and instead have to keep thanking them for their excessive praise, or a combination of both those things. So I can definitely understand where your husband is coming from.