[client][js] add support for sending query string parameters with login