cqlsh: handle 'null' as session duration

patch by Mikhail Stepura; reviewed by Aleksey Yeschenko for
CASSANDRA-6317