Update imgur api calls to use a proper HTTP header.

Also try reading it from ENV if available.

Thanks.