handle resource authentication error