Updated authentication innards.