Add support for authentication in mosca.Server.

References #20.