Lock username if juju version is less than 1.21.
Merge pull request #674 from huwshimi/pre-21-username-admin

Lock username

Lock the username if juju version is less than 1.21.