Fixed LinkedIn authentication, added a test for it