Lowercase new usernames.
Fully promisify database tests.