fix missing User-Agent for login