Refactor admin create task

Implemented @SamSaffron's [feedback](https://meta.discourse.org/t/create-admin-account-from-console/17274/2?u=techapj).