Fix furnace basic auth; add test

The basic auth feature was broken since 874b123bb067 (5 years :s)