Imunitate, Afectiuni Endocrine