Fixing production authentication