fixes #844

added terminalSession.enableConnectWithoutDevice=false in application.properties to disable connection without device