Enable more logging and fake HTTPS flag to prevent redirect loops while testing