basic auth
resolve uid
github.com/sourcemint/sm#6