Cache the result of a get_rooms_for_user query, to make user_rooms_intersect() much lighter in the read-common case