Added support for other authorization errors