Swap btree for write, reset password on codec - working.