1.1-dev: finished implementing the CAP extensions and user persistence (T97)