Starting authentication using code snippets from online article