Fix logic in dump_accounts
Fix logic in dump_accounts

Fixes slight defect in logic where resources dict is
always created, even if the user didn't have a
network or router.

Change-Id: Iea81906e3d84b843bb926f64f47e668e0279cdbf

zsoltdudas/lis-tempest,bigswitch/tempest,Juniper/tempest,openstack/tempest,sebrandon1/tempest,Juniper/tempest,vedujoshi/tempest,Tesora/tesora-tempest,masayukig/tempest,openstack/tempest,cisco-openstack/tempest,bigswitch/tempest,zsoltdudas/lis-tempest,Tesora/tesora-tempest,masayukig/tempest,vedujoshi/tempest,cisco-openstack/tempest,LIS/lis-tempest,sebrandon1/tempest,LIS/lis-tempest