Truncate database username to 16 characters

MySQL doesn't allow usernames longer than 16 characters. But project names may be longer, so using jinja built-in truncate filter. Tested manually. Don't know how to write an automated test.