fix spurious errors from pwd/grp functions when nscd backend is absent