Simple login server implementation.