ViewProviderAccessDelegate using accessDecisionManager

If an accessDecisionManager is set for Security, isAccessGranted(String beanName, UI ui) will always retrun true and leave the decision to the second hook with the actual object. If no accessDecisionManager is set, the behaviour is the same as before the change and hasAnyAuthority is used whenever there is a @Secured tag.
Optimized the second method so hasAnyAuthority is not called again