Minor permissions and auth gateway changes