Fixed possible crash on empty refresh_token