Oh, you are doing everything right so far.
When you change the CGI user, you are also changing the location of where the files should go.
You're seeing the directory listing because the web server is looking for the files in the new location, but you haven't copied them from the old location yet.
So you have to download them from the previous user, and upload them to the new user. Simple as that.
Perl / MySQL / HTML+CSS