removed redundant encoder from authenticator service