Merge pull request #13 from Magenic/master

Merging into my fork.
Merge pull request #14 from Magenic/master

Merging into my local fork.
Fixing authentication and implementing login properly
Fixing more authentication issues

Needed to change ICslaIdentity to ICustomIdentity to avoid pulling the
wrong concrete instance.
Merge pull request #39 from jwendl/master

Fixed authentication properly