Fixed issues with multiple attempts to authorize in one page load
Merge pull request #970 from reciprocity/hotfix/oauth_dialog

Fixed issues with multiple attempts to authorize in one page load