Added basic auth and token based authentication.
Added creation of repositories.