Cleanup of the request.identity dict