Python API: check if authentication is still valid

Bump.

Still no success with getting a refresh, token, see also my post here:

I would really appreciate some support :slight_smile: