Added an implementation of authentication server.