Register the set authentication routine