Fixing problem with Base64 from jdk8