Tutorial bugs

These were a couple of issues that I came across while following the tutorial at http://flask-stormpath.readthedocs.org/en/latest/. Everything else worked great.