MDL-68183 auth: Fix the performance of forgotten password user search