Fix xauthority path handling