Add credentials for all API requests
Parse regal-ID from response header directly

Circumvents http vs https URI problem