added a quick way to disable security in testing. Closes GH-786