ifp: fix typo causing a crash in FindByNameAndCertificate
Due to a typo in the recent refactoring the InfoPipe crashes in the
FindByNameAndCertificate request.
Additionally a state variable in set to the expected value.
Related to https://pagure.io/SSSD/sssd/issue/3863
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>