added basic auth support to lock futon