New test to create a package.

Also contains a class-based decorator for login/logout for a specific
test, which obtains the username/password from the relevant config
when provided with keys.