Hotfix: Disable secure cookies when HTTPS is off