Extract login service and improve error message when ProxyService has not target available