If we check the below code with type="web" means, it showing wrong exception like
Action getdefaultsecuritymanager is not available for Server Admin (Web Admin only)
The exception should show as follows,
please give the build a try
I've checked this ticket with fixed version. It works fine as per appropriate message.