Requests longer-lasting access token and checks if stored access tokens are still valid