Unauthorized Error for First Mutual Authentication Request

Problem

When using mutual authentication with SAP Netweaver back end systems, the first request might fail with 401 error (unauthorized).

Workaround

Subsequent requests do work successfully.