allow for custom username lengths via site settings

Note: the custom lengths are not considered and the default is used if `enforce_global_nicknames` is true