Fix error when instantiating with bad creds

Previously, a KeyError would raise. This doesn't really make any
sense to the user.

Now raise a RedcapError.
Add test for bad credentials

Fixes #15
Merge branch 'badurlerror'