Cleanup auth_check for Api controllers