anchor.diff:  should_ensure_doc_hash_equals_cached_one(DbName) ->
       ?_test(begin
           {ok, _} = update_user_doc(DbName, "joe", "pass1"),
  -        Creds = couch_auth_cache:get_user_creds("joe"),
  +        {ok, Creds, _} = couch_auth_cache:get_user_creds("joe"),
   
           CachedHash = couch_util:get_value(<<"password_sha">>, Creds),
           StoredHash = get_user_doc_password_sha(DbName, "joe"),
  
positive.code:         "CouchDB auth cache tests",
          {
              setup,
              fun test_util:start_couch/0, fun test_util:stop_couch/1,
              {
                  foreach,
                  fun setup/0, fun teardown/1,
  
negative.code:         config:set("couch_httpd_auth", "authentication_db",
                           ?b2l(DbName), false),
  
          {ok, Creds, _} = couch_auth_cache:get_user_creds("joe"),
          ?assertEqual(PasswordHash,
                        couch_util:get_value(<<"password_sha">>, Creds))
      end).
  