add tests for user.auth
Merge pull request #7 from refraktometr/auth_test

add tests for user.auth