[SSSD] [PATCH] Reduce the code duplication in Data Provider