Username converted to lowercase in database migration