recalculate authorization after add Content-Type in header