Address review comments
Address review comments

- Move code
- Refresh agent.Config after updating SharedSecret

dooferlad/juju,Altoros/juju-vmware,fwereade/juju,gabriel-samfira/juju,Altoros/juju-vmware,frankban/juju-tmp,sinzui/juju,bac/juju,anastasiamac/juju,sinzui/juju,kat-co/juju,makyo/juju,ericsnowcurrently/juju,marcmolla/juju,fwereade/juju,gabriel-samfira/juju,frankban/juju-tmp,perrito666/juju,bz2/juju,tasdomas/juju,perrito666/juju,mjs/juju,jrwren/juju,axw/juju,perrito666/juju,reedobrien/juju,kat-co/juju,cmars/juju,marcoceppi/juju,davecheney/juju,mattyw/juju,cmars/juju,tsakas/juju,bogdanteleaga/juju,frankban/juju-tmp,cloud-green/juju,bz2/juju,cloud-green/juju,AdamIsrael/juju,mhilton/juju,kat-co/juju,wwitzel3/juju,howbazaar/juju,mjs/juju,tsakas/juju,alesstimec/juju,tych0/juju,alesstimec/juju,frobware/juju,rogpeppe/juju,voidspace/juju,waigani/juju,frobware/juju,dimitern/juju,voidspace/juju,axw/juju,Altoros/juju-vmware,davecheney/juju,cmars/juju,Altoros/juju-cloudsigma,macgreagoir/juju,frobware/juju,thomnico/juju,davecheney/juju,tasdomas/juju,mikemccracken/juju,mikemccracken/juju,bac/juju,jrwren/juju,kat-co/juju,marcmolla/juju,ericsnowcurrently/juju,mikemccracken/juju,voidspace/juju,mhilton/juju-juju,marcmolla/juju,Altoros/juju-vmware,Altoros/juju-cloudsigma,cherylj/juju,thomnico/juju,tasdomas/juju,frankban/juju,reedobrien/juju,alesstimec/juju,dimitern/juju,bz2/juju,tasdomas/juju,frankban/juju,bogdanteleaga/juju,anastasiamac/juju,thomnico/juju,macgreagoir/juju,thomnico/juju,mhilton/juju,bac/juju,tsakas/juju,dooferlad/juju,sinzui/juju,dooferlad/juju,makyo/juju,davecheney/juju,dimitern/juju,axw/juju,AdamIsrael/juju,frankban/juju,ericsnowcurrently/juju,howbazaar/juju,bac/juju,marcoceppi/juju,tych0/juju,mhilton/juju-juju,kat-co/juju,macgreagoir/juju,mjs/juju,cmars/juju,anastasiamac/juju,bz2/juju,frankban/juju,mattyw/juju,jrwren/juju,AdamIsrael/juju,gabriel-samfira/juju,bogdanteleaga/juju,macgreagoir/juju,cherylj/juju,marcoceppi/juju,ericsnowcurrently/juju,tych0/juju,alesstimec/juju,voidspace/juju,mjs/juju,frankban/juju-tmp,mjs/juju,Altoros/juju-cloudsigma,fwereade/juju,waigani/juju,Altoros/juju-cloudsigma,dooferlad/juju,cherylj/juju,tsakas/juju,alesstimec/juju,mattyw/juju,dimitern/juju,fwereade/juju,makyo/juju,anastasiamac/juju,rogpeppe/juju,wwitzel3/juju,dimitern/juju,anastasiamac/juju,bz2/juju,mjs/juju,reedobrien/juju,bogdanteleaga/juju,marcoceppi/juju,waigani/juju,ericsnowcurrently/juju,perrito666/juju,wwitzel3/juju,gabriel-samfira/juju,mhilton/juju-juju,mhilton/juju,mikemccracken/juju,gabriel-samfira/juju,marcmolla/juju,mattyw/juju,cloud-green/juju,rogpeppe/juju,wwitzel3/juju,AdamIsrael/juju,howbazaar/juju,dooferlad/juju,bac/juju,sinzui/juju,cloud-green/juju,mhilton/juju-juju,perrito666/juju,cherylj/juju,makyo/juju,macgreagoir/juju,mjs/juju,reedobrien/juju,axw/juju,howbazaar/juju,frankban/juju,axw/juju,waigani/juju,howbazaar/juju,mhilton/juju,tych0/juju,reedobrien/juju,marcmolla/juju,mikemccracken/juju