The authentication process has been put back together following the
previous refactor.