Fix small errors in auth modules