Use a subarray of data for auth check if one matching the auth model exists.

Fix tests

Fix line endings
Merge pull request #1152 from SobanVuex/enchancement/auth-form-data-binding

Enhance Auth Form adapter