fixed up btree, lock to make it work with current format of serverstatus, removed problematic auth code temporarily