Steps:
Expected result: User is logged in;
Actual result: "Cannot read property 'data' of undefined" error message is shown;