Quaternary ammonium compound as antimicrobial agent in resin-based sealants