erp5_credential: Allow create assignments with infinite duration

See merge request !1537
3 jobs for for_testrunner_1
Status Job ID Name Coverage
  External
failed ERP5.UnitTest-Master

failed ERP5.UnitTest-Zope2

passed Wendelin.UnitTest-Master