Fixes a unknown resources error.

This occured when calling ping with bad credentials. Not very common,
but it did look wierd in the command line.
Merge pull request #3601 from bkearney/bkearney/candlepin-failed-auth-namespace

Fixes a unknown resources error.