Add this to your qa-config.php:
define('QA_DB_MAX_HANDLE_LENGTH', 30);
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.