Fix issue with redirect after Dropbox login