Add logging when authentication fails in publish

@thatch45, should I add log similar warnings when authentication fails in the wheel and mk_token functions?