Add ACL

Signed-off-by: Julien Danjou <julien@danjou.info>
Check basic authorization
Make user/password parameters

Signed-off-by: Julien Danjou <julien@danjou.info>