Minor fixes and added getMapStats at CLIENT_AUTH