Index accounts by UID and Provider

:fork_and_knife: 

We query by `uid` and `provider` every time a user authenticates. On my machine, with a database full of imported accounts, adding this index speeds up this query by  a factor of 100.