Updated to use passport for basic auth.