Added Certificate support to MockAuthenticationFactory

Hmm, I wonder if this would be cleaner if we had CertificateMockAuthenticationFactory and TokenMockAuthenticationFactory.  Thoughts?