Update server.py

Added Basic Authentication