Fix the API name in login demo