Make default redirect url pluggable.