Better output on credential failures

The important takeaway is assigning an error message to `@result['stderr']` which makes it available to callbacks.