recovery: simplify flag handling in elliptics_create_session()