Fix for OPENAM-3796 - review: CR-3264
Check that the return value of Base64.decode() isn't null.

git-svn-id: https://svn.forgerock.org/openam/trunk/openam@8487 0f4defcf-c51a-4c67-9f44-6fb5eba73c5d
OPENAM-3746 - Error occured while upgrading OpenAM using openam-upgrade-tool.jar. Resolved by including the acceptLicense parameter in the request.

git-svn-id: https://svn.forgerock.org/openam/trunk/openam@8489 0f4defcf-c51a-4c67-9f44-6fb5eba73c5d