Bug 925759 - don't use loginAPI's deprecated getUser function

https://bugzilla.mozilla.org/show_bug.cgi?id=925759