Fix broken auth from domain change