c99b8bb ipatests: backup-reinstall-restore needs to clear sssd cache

Authored and Committed by frenaud 2 years ago
    ipatests: backup-reinstall-restore needs to clear sssd cache
    
    The integration tests that check backup-reinstall-restore
    scenario need to clear sssd cache before checking the uid
    of the admin user. For instance:
    backup: saves the original admin uid
    reinstall: creates a new admin uid, potentially cached by SSSD
    restore: restores the original admin uid
    
    Related: https://pagure.io/freeipa/issue/8995
    Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
    Reviewed-By: Christian Heimes <cheimes@redhat.com>
    Reviewed-By: Rob Crittenden <rcritten@redhat.com>
    Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>