Added 401 to expected status codes on health check. 

This will allow for Basic Auth applications to work in scaled mode.

https://bugzilla.redhat.com/show_bug.cgi?id=1145810

You just need to call erb here (process the ERB file), it will pick up the environment variable automatically.