Use username minimum length from config in model

There is a configuration parameter for setting the minimum username length, but the model has a hardcoded minimum of 4. This is an issue if you need usernames shorter than 4.