fix auth manager init