anchor.diff:          config:set("couch_httpd_auth", "authentication_db",
                            ?b2l(DbName), false),
   
  -        Creds = couch_auth_cache:get_user_creds("joe"),
  +        {ok, Creds, _} = couch_auth_cache:get_user_creds("joe"),
           ?assertEqual(PasswordHash,
                         couch_util:get_value(<<"password_sha">>, Creds))
       end).
  
positive.code: -define(SALT, <<"SALT">>).
  -define(TIMEOUT, 1000).
  
  
  -ifdef(run_broken_tests).
  
  setup() ->
      DbName = ?tempdb(),
  
negative.code:         PasswordHash = hash_password("pass2"),
          {ok, Rev} = update_user_doc(DbName, "joe", "pass1"),
          {ok, _} = update_user_doc(DbName, "joe", "pass2", Rev),
          {ok, Creds, _} = couch_auth_cache:get_user_creds("joe"),
          ?assertEqual(PasswordHash,
                        couch_util:get_value(<<"password_sha">>, Creds))
      end).
  