If the page does not redirect there is likely a php error occurring that is causing the redirect to fail instead of loosing the WA_redirectURL value.
Add the following code at line 1 of your page to turn on error reporting:
<?php
error_reporting(E_ALL);
ini_set('display_errors','on');
?>
The next time the redirect fails, it should show the php error that is occurring.