Remove unused import.
Abort if authorization code or credentials are not provided.

Fixes #2