EzSession.MakeSourceMain functor that produces definition for authentication services and encodings for types used by service's input, output and errors.
module S : TYPES.SessionArgEncodings for data types used in server's requests/responses and for error cases that could be raised by one of them.