on the login page, open the server behaviors panel, and double click the security assist authenticate user behavior. go to the Session tab. Click the plus button and select the username column, this will save the username to a session.
on the page that you add the upload file behavior to, click the lightning bolt icon next to upload folder, and select the session created by the login page.