Tidy up LinkedInApi so that it does authentication in conjunction with