mathjazz's sign in to patch

Same as https://github.com/mozilla/browserid-bigtent/pull/235 but smaller diff against the train-2013.05.29 branch.