[IMP] account: convert account_state_open.py to new API