Login username case insensitive

- Fixes #211
- Always lowercase a username on entry.
- Add migration to lowercase existing data.