Adds api_external config var.

This allows us to make api calls internally while redirecting users to
the external api url for web links.