Move RegisteredClientSession to own file