Fix dismissal of OAuth sign-in dialog

Addresses #57