fix startup authentication