adapt sgn.psgi script to new Catalyst calling convention.