Per-app login-settings

Part of https://github.com/goinstant/platform/issues/3673 and corresponds to API changes in https://github.com/goinstant/platform/pull/3701