feat(admin): implement attachment download
fix(auth): better handling of empty server values
test(clickcounter): fix config test