Allow login via arbitrary library
Merge pull request #223 from rklomp/master

Simple addition to allow login via any library