Fix session configs. Closes #1943.