Make # queries expected for admin login more flexible.