fix ssl for authed users