Updated changepassword and userProfile tests to use loginPage.js service