Added os.initgroups call to Process in order to initialize all groups correctly
Default gid to uid main group.