Merge "Make the authentication requirement configurable for toggles" into tm-dev