Allow for $endpoint and $token to be configured globally

Signed-off-by: Adam Engebretson <adam@enge.me>