(FM-1911) Fixup passenger system test

Previously we were running a command via sudo, which requires a TTY. The
testing framework does not allocate a TTY by default, passing the
`:pty => true` option corrects this.