Fix preauthorize redirection bug in unhappy path