Bugfix #1824194 Simplesamlphp

Ported the fix implemented in the 6.x-3.x branch to the 7.x-2.x. This enables users logged in via simplesaml to create Drupal users, and gives users the option to select their preferred login type from their account form.

This addresses the issues brought up in https://drupal.org/node/1824194.