def METHOD_NAME(self, username, password):
    "Fake 'remote' authentication."
    if not username or (self.collects_password and not password):
        return None
    if not self.valid_patron(username, password):
        return None
    return self.generate_patrondata(username, self.test_neighborhood)