Changed json response in authorities controller.