Add this to your qa-config.php:
Preferably you should do this before creating the database. If you already have a working site you'll need to manually update the "handle" field in your users table (qa_users) to match the length you put in there, e.g. VARCHAR(30). Also do the same for eventlog if you have that table.