More tests, Flask-WTF update, better local login view