Combine bare-install/install commands

Reduce duplication of code between bare-install and install
Bare-install will now configure a password for judgehosts based on the
restapi.secret file

Fixes #144