fixed issue https://github.com/wtforms/wtforms-appengine/issues/6

implemented a fix for issue #6