kauth: Don't overflow stack when building username