Don't return finishedAt, startedAt, duration for not started jobs/builds
Fix signing out on failed try to update user data

A while ago I introduced a change to auth code which signs out user on
failed try to get user data. The problem with it was it signed out on
all kind of errors, like network error. I changed the code to log out on
401 status, but I haven't tested it properly, we actually return 403 on
unauthenticated queries for user data.