Don't use wp_redirect -- always wp_safe_redirect
Preserve the redirect_to
Add some log calls to check the flow
Remove logs
Update the actual redirect url.
Don't set redirect_to after the possible override, do it before.
Merge pull request #441 from Automattic/preserve-redirect

Preserve redirect