Merge pull request #1 from HaToHo/master

Fixes to make to module work again.
Minor bug + unnecessary imports
Prepare sign for authn request

Instead of signing the authn request, it only prrepare it so it can be
signed in the SOAP envalope.