Fix creating dropbox session method