core: fixed password reset failing if there are two persons with the same email address, one user-y and one not (CONDB-43)