ISPN-4394 Avoid possible NPE thrown from AuthorizationHelper

https://issues.jboss.org/browse/ISPN-4394