Log the user in setting the user data dictionary in cookie
    Returns a command that execute the logic

def log_user_in(app_id, token, ticket, response, cookie_name='user',
                url_detail='https://pswdless.appspot.com/rest/detail'):
    '''
    Log the user in setting the user data dictionary in cookie
    Returns a command that execute the logic
    '''
    return LogUserIn(app_id, token, ticket, response, cookie_name, url_detail)