reveret to 3.1.8, remvoved har creation & added support for basic auth
formatting