Add options to disable the login decorators.

I had to do a bit of wonky stuff with the tests because our `TESTING` flag was being picked up, disabling the decorators. This will fix #103.