Use webapps-registry-ready instead of Applications.ready
Do not change client context