Dropbox authentication and chunk upload