anchor.diff:          PasswordHash = hash_password("pass2"),
           {ok, Rev} = update_user_doc(DbName, "joe", "pass1"),
           {ok, _} = update_user_doc(DbName, "joe", "pass2", Rev),
  -        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: 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"),
  
          CachedHash = couch_util:get_value(<<"password_sha">>, Creds),
          StoredHash = get_user_doc_password_sha(DbName, "joe"),
  
negative.code:     ?_test(begin
          PasswordHash = hash_password("pass1"),
          {ok, _} = update_user_doc(DbName, "joe", "pass1"),
          {ok, Creds, _} = couch_auth_cache:get_user_creds("joe"),
          full_commit(DbName),
  
          DbName1 = ?tempdb(),
  