fix DefaultIdentityManager compilation errors