Improved: Fixing defects reported by FindBugs, package org.apache.ofbiz.security. (OFBIZ-9635) Thanks Dennis Balkir for reporting and providing the patch.