Refactoring noir-auth.core/authenticate

Now it looks more concise.
Merge pull request #2 from DNNX/refactoring-authenticate

Refactoring noir-auth.core/authenticate