fixed wrong http/https SOGo redirects after login