Fix double auth issue

This fixes the double auth issue.