Fixed issues with multiple attempts to authorize in one page load

Also rejecting global OAuth deferred if the user declines to launch the popup from the modal.