Fix auth.access.length causing error when auth.access is undefined