Enabling authorization for function apps