Backported a bug for user authentication.

The token does not exist for people who are using the static authentication method. This was fixed in 2.15 and is now being backported to 2.14.
Merge branch 'master' of github.com:cens/ohmageServer into ohmage-2.15