Skeleton for LocalStrategy authentication