Query parents by location and login.