Check that the following sequence works: UA -POST-> Server Server -401-> UA UA -POST with Auth-> Server