WFLY-1488 - cookieConfig.getComment() check