BugFix: actually log error if post returns error status code after client calls user.login().