Make a login call before the upload