WFLY-981 : Adding test to be able to close the bug.
@RunAs and @RunAsPrincipal are taken into account on a @Startup @Singleton.