That's what I did in the first place to fix the issue, but the test still fails as the test result is Returned Status 307 does not match expected state 200 Which means there still is an redirection - but I can not figure out why at the moment.