added runtime cookie

Hi,
I've added an option to use runtime cookie when cookie filename is not set, this is useful when multiple queries are made during the app runtime and saving credentials on hard drive is not allowed, please feel free to suggest the better way of doing this.