'Registers user and returns user representation dictionary as expected by `log_in` function'

def _make_user(self, username):

    user = {'username': username, 'email': (username + '@example.com'), 'password': (username + '123')}
    AutoAuthPage(self.browser, no_login=True, username=user.get('username'), email=user.get('email'), password=user.get('password')).visit()
    return user
