Fix failing tests with user login mockups