#1227 - Changing user interactive to non interactive does not clear session