Fix account table indexes

The migration that introduced the account table totally botched
the indexes.

Change-Id: I69fce9cb092ac0819df15887076784d8f754ac96