Fix flask-login test setting