Fix bug 1044096: Make SignedAgreements unique by user/agreement pair.