change auth type