Upgrade fixes

- Connect changed the API slightly, it does not return whole response object (like `Net::HTTPServerError` but only the error code number).
- some small fixes included
It logs only the `username` part which should be enough for debugging at the SCC side.