allow apps to set cookie domain. fix s3 storage bug. improve logging.