Refactor CLIRegistererTest.testAuthWithSecurityRealmCLIAuthenticator