fix compilation issue
refactor, rename APIAssert in APIPreconditions
BS-9116 - [REGRESSION] After logging on portal, the default profile is Administrator instead of User