fix authentication warning