Added Certificate support to MockAuthenticationFactory


<!---@tfsbridge:{"tfsId":2307458}-->