Remove AnonymousUser stuff for upgrade to Flask Login 0.2.3, plus remove other cruft