Fix is_authorized/0 functionality
Remove debug for content type response