HTTP 401 error message format check added