Extra work on #21 and build fix

Completed Delegation creation and fixed dependency for http-auth that
broke after lib version 2.0.0