Rename login test case
Use Flask-Testing library