client/listener: Finish new session creation function for auth.