patch for preexisting users

https://www.drupal.org/node/1280930