ENUNCIATE-747 - Handle security exceptions in GWTEndpointImpl

Handle security exceptions by returning 401 or 403 errors
This is a fix for http://jira.codehaus.org/browse/ENUNCIATE-747