You should be able to do:

    credentials =  self.testsetup.credentials.get(user, PersonaTestUser().create_user())