Revert change done in 11f543f1f2.

The change is unneeded now as Security::encrypt() no longer throws exception
for falsey values.