[JENKINS-17782] Hide stack traces except for administrators.

See [JENKINS-17782](https://issues.jenkins-ci.org/browse/JENKINS-17782). Needs a matching PR in Jenkins core to be effective.