Fixed jasmine specs that relied on old Discourse user api.