Small hack to not crash on failed authorization attempts due to missing WWW-Authenticate header.