Fix getent to call endspent rather than endpwent for shadow database.