Moved blocking code to background worker (Dropbox auth)