Authorization toggle now works