Properly save secret into database.
Not needed anymore after https://github.com/zikula/core/pull/1389.
Disabled due to https://github.com/zikula/core/issues/907.
Refactored to match the latest changes in core, refs https://github.com/zikula/core/pull/1407 and https://github.com/zikula/core/pull/1389, #1, closes #19.
Merge pull request #21 from zikula-modules/auth-refactoring

Refactored to match the latest changes in core and fixed minor issues.