LPS-42298 Fix source formatting typo of LPS-41351
LPS-42051 Should not be used for testing role existence, use the same logic as LPS-34587
LPS-42051 SF