Updates for merchant.py

Updates to merchant.py to use seed_version 4 (Old Accounts) and
correct calls to sqlite3.