Initiates the login procedure using the specified User-supplied Identity.
function submitLoginForm($identity) {
// Fill out and submit the login form.
$edit = array(
'openid_identifier' => $identity,
);
$this
->drupalPost('', $edit, t('Log in'));
// Check we are on the OpenID redirect form.
$this
->assertTitle(t('OpenID redirect'), 'OpenID redirect page was displayed.');
// Submit form to the OpenID Provider Endpoint.
$this
->drupalPost(NULL, array(), t('Send'));
}