Better way to identify 401 errors.

Oxygen HTTP protocol implementation throws an error when a 401 response
is received. We detect that case also and reset the user credentials.