Added a test covering the resetting of the basic auth