I'd suggest you run the stand-alone bin/app.pl or plackup bin/app.psgi without Apache till you have this figured out then. That way you can be sure the problem is not due to the use of Apache.

Have you tried adding debug() calls to the set_flash and get_flash functions to see if they are executed when you access the URLs?

Gabor