improve some error handling
* Rate limit exceeded
* Upload quota exceeded
* Authentication expired
. Fixes: https://bugs.launchpad.net/bugs/1430173, https://bugs.launchpad.net/bugs/1430176.
Approved by Riccardo Padovani, Ubuntu Phone Apps Jenkins Bot.