Password encrypting test in Spring MVC 3. BCrypt encryption was used.