[Bug 879012] Added a security to the admin console, and unsecured api ro...

...utes

Ref: https://bugzilla.mozilla.org/show_bug.cgi?id=879012