Renamed  to  util function in external authentication test