Add configuration file, use port 7891 as default
Extract function to read basic authentication data
SHA256 hash for authentication cache