Fix resolve auth