Fix for problem where webapps that use the security provider fail to startup when the encryption key file can't be created.