Update LtpaGeneratingResource.java

fix coockie's expiration