Fixes double authorization headers

When using different HTTP basic credentials for separate requests, previous authentication headers are not cleared before adding the new ones.  As a consequence the request never gets authorized.

Signed-off-by: James Cauwelier <james.cauwelier@gmail.com>
Merge pull request #27 from jamescauwelier/fix-double-auth-headers

Fixes double authorization headers