fixes #404 - redirect after ajax post. parse spring URL redirect header