* update nyc dependency to fix security warning from npm * Implemented ServicePrincipal login with certificate * code review feedback * Add samples that can be run live