Fix demo login issue.