Answer login queries with an index

Adds a multicolumn index to the auth_users table so that we can answer login queries from the index rather than from the table itself.

This might qualify as a premature optimization, but I thought of it while working on the scrypt change and it only took a few minutes to implement.