Update views.py

Prevent Basic auth dialog from coming up.