Fix furnace basic auth; add test