Basic auth as in issue #8 + behat tests