fixes for handling the hash representation of authorization_uri and token_credential_uri