JCR-3274: Fix workspace population script

Fix credentials for accessing repository with write access and replace the broken search code (that used Swing classes to parse HTML documents) with simple Google Search API calls and JSON parsing.