Various bug fixes related to re-attempts on client requests due to
errors and timeouts. Also removed proxy checks and login from the
attempt loop. Login should only occur once after a not
authorised/forbidden exception is thrown when attempting the request.
Also logged NotFinishedStaging exception when refreshing app stats, to
let the user know they may have to stop and start the application again.