MODULES-1294 Fix issue with auth_require not taking precedence over defa...

...ult of require all granted, added checks for require and auth_require before adding the default