Allow configuring Salsa API host along with credentials

It turns out that in order to authenticate with Salsa, you need to not
only pass correct email and password, but also use the correct hostname.
The host names are client-specific, and authenticating against a wrong
one will result in authentication error.
Parse chapter_key in actions
Merge branch 'add_host_to_credentials'