Don't cast default integers as strings, remove unnecessary AUTO_INCREMENT
Fix sql error
Merge pull request #2156 from elinw/sqlfixoct6

Fix sql error
[#32190] Username/password not recognised on first install.