Fixed a problem with the authentication window not dismissed even when the authorization was granted, modified the way to understand if the authentication process has ended
Merge pull request #6 from stefalda/master

Authentication window not dismissed