Fix bug where options from store are not correctly copied to options in created session.