Add users to Middle Auth use the following command to hash the username and password for the basic auth middlewared   htpasswd -nb user password