Fixing edge cases for dropbox sharing. Ie user cancel authentication.