propagate authentication errors into proxy error handler