authentication fixes.