Functional basic auth system using Passport now complete