Fix cookies for Java download

Seems Oracle have changed some cookies again for allowing download of the JDK.
Merge pull request #3594 from stigkj/patch-1

Fix cookies for Java download