Force Basic authentication to override cookies

Fixes #2.