Added a test covering the resetting of the basic auth
Merge pull request #509 from stof/test_reset_basic_auth

Added a test covering the resetting of the basic auth