Fixed Cookie Detection ReturnUrl Issue