Fix oauth endpoint paths