Token based authentication. Can be used both for HTTP and WebSocket.
Token authenticator.
Returns token authenticator if this authentication is token based.