Enable basic-auth by default
Enable basic-auth by default

The deployment script will enable basic-auth by default to help
avoid people deploying to a public IP with no protection from
malicious actors.

- In deploy_stash.sh /dev/random can hang on some systems, so using
  urandom will give a better experience, if less "random" data.
  For the purposes of creating an initial basic auth password this
  is sufficient.
- Alpine Linux does not have the shasum command, but sha256sum.
- Tested on MacOS with and without --no-auth flag.
- Does not apply for armhf or powershell.

BASIC_AUTH env-var added by Vivek Syngh @viveksyngh

Signed-off-by: Alex Ellis (VMware) <5f7133baa0f5c7ca63ff11e11f2e2b0d2cf077c8@gmail.com>

rgee0/faas,alexellis/faas,rgee0/faas,rgee0/faas,openfaas/faas,rgee0/faas,alexellis/faas,rgee0/faas,openfaas/faas,alexellis/faas,rgee0/faas,rgee0/faas,alexellis/faas,rgee0/faas,alexellis/faas,alexellis/faas,alexellis/faas,alexellis/faas,rgee0/faas,rgee0/faas,alexellis/faas,openfaas/faas