Using basic auth with Python application. This recipe uses .htaccess and .htpasswd files