Added helper for xauth cookie transfer