Advanced Auth not working after java upgrade