Use 127.0.0.1 instead of localhost

Localhost might resolve to the ipv6 ::1, but flask only binds to 127.0.0.1 by default. This makes the webbrowser connect to the correct IP.