Fix the simple demo in duo_python to work in Safari.

The demo used to send a text response without the proper HTTP response headers,
causing Safari to get confused.