anchor.diff:      emqttd_mnesia:ensure_stopped().
    
   brokers(_) ->
  -    ?assert(connect_dashbaord_(get, "api/brokers")).
  +    ?assert(connect_dashbaord_(get, "api/brokers", auth_header_())).
   
   stats(_) ->
  -    ?assert(connect_dashbaord_(get, "api/stats")).
  +    ?assert(connect_dashbaord_(get, "api/stats", auth_header_())).
   
   ptype(_) ->
  -    ?assert(connect_dashbaord_(get, "api/ptype")).
  +    ?assert(connect_dashbaord_(get, "api/ptype", auth_header_())).
   
   memory(_) ->
  -    ?assert(connect_dashbaord_(get, "api/memory")).
  +    ?assert(connect_dashbaord_(get, "api/memory", auth_header_())).
   
   cpu(_) ->
  -    ?assert(connect_dashbaord_(get, "api/cpu")).
  +    ?assert(connect_dashbaord_(get, "api/cpu", auth_header_())).
   
   nodes(_) ->
  -    ?assert(connect_dashbaord_(get, "api/nodes")).
  +    ?assert(connect_dashbaord_(get, "api/nodes", auth_header_())).
   
   metrics(_) ->
  -    ?assert(connect_dashbaord_(get, "api/metrics")).
  +    ?assert(connect_dashbaord_(get, "api/metrics", auth_header_())).
   
   listeners(_) ->
  -    ?assert(connect_dashbaord_(get, "api/listeners")).
  +    ?assert(connect_dashbaord_(get, "api/listeners", auth_header_())).
   
   bnode(_) ->
  -    ?assert(connect_dashbaord_(get, "api/bnode")).
  +    ?assert(connect_dashbaord_(get, "api/bnode", auth_header_())).
   
   clients(_) ->
  -    ?assert(connect_dashbaord_(post, "api/clients", "page_size=100&curr_page=1")).
  +    ?assert(connect_dashbaord_(post, "api/clients", "page_size=100&curr_page=1", auth_header_())).
      
   clients_query(_) ->
       Sock = client_connect_(<<16,12,0,4,77,81,84,84,4,0,0,90,0,0>>, 4),
  
positive.code:      {group, clients},
       {group, sessions},
       {group, routes},
       {group, subscriptions}
       ].
  
  groups() ->
  
negative.code:           false
      end.
  
  auth_header_() ->
      auth_header_("admin", "public").
  
  auth_header_(User, Pass) ->
      Encoded = base64:encode_to_string(lists:append([User,":",Pass])),
      {"Authorization","Basic " ++ Encoded}.
  
  connect_dashbaord_(Method, Api, Params, Auth) ->
      Url = "http://127.0.0.1:18083/" ++ Api,
      case httpc:request(Method, {Url, [Auth], ?CONTENT_TYPE, Params}, [], []) of
      {error, socket_closed_remotely} ->
          false;
  