Make sure we cache the name-to-ID lookups in the getpwnam/getgrnam calls.