Run tests where login is required

Adds basic support for logging in.

For educational purposes. The credentials are hardcoded.