This is probably due to the fact that session authentication is not enabled
on the server.
As a workaround, the loginpage property can be removed in the Sampler application. To do so, open the commonheader custom control in the sampler application and find line 10 in the source XML, there you will see the loginpage property being set.
The loginpage property can simply be removed.