If I don't specify this header manually, Python does not seem to add and the login fails.