Make native authentication more easily customizable