Fix internal API ticketing for social authentication