[NUCCORE-1192] More identity refactoring, adding IdentityManager to be
the place to get an identity from