add a bit of efficiency when looking up passwords