Set up ClientLogin stuff nice for Lei.