Added a missing change to dismissal in OAuth flow.