Add example hosts and token file
Read environment hosts and token
Add read hosts for the environment
Validate allowed hosts for the environment
Validate environment token if global auth is disabled
Allow localhost as whitelist host