[CXF-5339] Updating the code to report 400 in case of path restrictios as agreed with Aki and temp disabling the path restrictions test