Hacks to make authenticated API requests