Fix remote authorization