fixed the last issues for the secure-proxy test