The British and Irish Lions start their tour of New Zealand with a nervy victory over the Provincial Barbarians in Whangarei.