Print error if authentication fails