[Security] Added tests for the X509AuthenticationListener class