Adding flash-wtf as dependency for flask-login.