Only create swift account if swift enabled
Only create swift account if swift enabled

Only call the swift account creation function if swift is enabled,
otherwise the endpoints are created in keystone even though swift
isn't running.

This causes failures when tempest queries keystone and thinks swift is
there; it starts running tests against it that fail with unhelpful
"connection refused" errors.

Change-Id: Icf08409c9443ec703e5f1da4531aa34c326f3642

TwinkleChawla/devstack,inkerra/devstack,pombredanne/devstack,varunarya10/devstack,pczerkas/devstack,samgoon/devstack,openstack-dev/devstack,mc2014/devstack,CloudServer/devstack,pacinete/devstack,atulpatil301/devstack,JioCloud/devstack,samgoon/devstack,jamielennox/devstack,williamthegrey/devstack,bljgaurav/openstack-test,Juniper/devstack,parul24/devstack,affo/devstack,rushiagr/devstack,group-policy/devstack,richliu/devstack,CloudServer/devstack,dtroyer/devstack,sequenceiq/devstack,HPCHub/devstack,andrewrothstein/devstack,BSJAIN92/OpenStack,nawawi/openstack,upadhyay-prashant/devstack,atulpatil301/devstack,neerja28/Devstack_GlusterFS,dtroyer/devstack,vsham20/devstack,bljgaurav/openstack-test,TwinkleChawla/devstack,vishnugonela/devstack,promptworks/devstack,costingalan/devstack,prithivm/branch01,flavio-fernandes/devstack,group-policy/devstack,vishnugonela/devstack,kplus/devstack-moonshot,olivierlemasle/devstack,eharney/devstack,affo/devstack,promptworks/devstack,noironetworks/devstack,nawawi/openstack,liuquansheng47/devstack,virtualopensystems/devstack,innodee/openstackk,vsham20/devstack,pacinete/devstack,BSJAIN92/OpenStack,Mahito/devstack,tianweizhang/devstack,upadhyay-prashant/devstack,mc2014/devstack,pombredanne/devstack,eharney/devstack,liuquansheng47/devstack,mssumanth/devstack,rushiagr/devstack,Millnert/contrail-devstack,avvocatodemarchis/devstack,avvocatodemarchis/devstack,Mahito/devstack,j4/devstack,openstack-dev/devstack,LoHChina/devstack,deepakselvaraj/devstack,flavio-fernandes/devstack,olivierlemasle/devstack,mmasaki/devstack,ozamiatin/devstack,dirkmueller/devstack,richliu/devstack,thomasem/devstack,prithivm/branch01,mmasaki/devstack,mssumanth/devstack,HPCHub/devstack,nuxeh/devstack,eshnil2000/devstack,varunarya10/devstack,andrewrothstein/devstack,pczerkas/devstack,costingalan/devstack,ozamiatin/devstack,LoHChina/devstack,wenhuizhang/devstack,kplus/devstack-moonshot,tianweizhang/devstack,j4/devstack,NaokiMiyata/devstack,noironetworks/devstack,Yuriy-Leonov/devstack,bigswitch/devstack,dirkmueller/devstack,srics/devstack,herrsechs/devstack,sequenceiq/devstack,nuxeh/devstack,sc68cal/devstack,bswartz/devstack,yamt/devstack,bswartz/devstack,NaokiMiyata/devstack,bq-xiao/devstack,bigswitch/devstack,wenhuizhang/devstack,bq-xiao/devstack,parul24/devstack,neerja28/Devstack_GlusterFS,thomasem/devstack,sc68cal/devstack,herrsechs/devstack