Fixed behavior on failed login attempt

Credentials didn't update correctly, since false authentication information
was stored in the config of the request. Now, upon receiveing of 401, all
authentication information is stripped form request config.

Fixed unit test to check for correct Authentication header.
Version 1.3.3