Fix configureHttpAuth

variable username and password are always empty

```
var username, password, httpAuthMatch = location.match(/^https?:\/\/(.+):(.+)@/i);
```

So event http.auth always pass empty values.
Merge pull request #848 from franck34/master

Fix configureHttpAuth