Google advanced protection issues

See How do I update an existing Gmail account to use OAuth 2.0? or How do I add a Gmail account?