Fixed a bug when reading user information.

Fixed a bug when using the class or campaign lists when reading user information.

References #617
Merge branch 'ohmage-2.16' of github.com:ohmage/server
Merge branch 'master' of github.com:ohmage/server into ohmage-2.16-user_setup_password