Fix: http auth; issue #1 & issue #2