user-accounts: use POSIX for max login name length

Use the POSIX-specified way of determining the maximum length of a valid
username on this system.

https://bugzilla.gnome.org/show_bug.cgi?id=724193