Revert last change and detect anonymous party earlier in the request processing