Update authenticator.js
Update test index