Handle forbidden and unauthorized status codes