Solved. Iw was double encryption. I was also encripting password on User model level every time when user was created. So it was double encpypted :)