fix http/https SOGo redirects