Improved SecurityFilter by avoiding double parsing of service type and limited MissingParameterException to get requests