it assigns httpRequest state as authenticate on response 401