Returns whether or not store contains a token that could be used for authenticating given url.
url
bool hasCredential(Uri url) => credentials.any((it) => it.url == url && it.isValid());