MotechPasswordEncoder
Class responsible for password encoding
encodePassword
Encodes given password using BCrypt hashing
encoded password
isPasswordValid
Encodes rawPassword and checks if it’s the same as encoded one
true if passwords are the same, false otherwise