Add hook to support forced API authentication against analytics API