exit with the correct error code
only display sasl reports on error. be less verbose in tests
provide a release able to work with libs installed on the system.

ie. prevent any external pollution.
fix make testjs: fix restart_couch

change the code to stream the standard output so we can really restart
when asked.
export couch_httpd:set_auth_handlers/0

This function wasn't exported so any changes to the
`httpf/authentication_handlers` setting wasn't effective.