PHOT-49: enhance register and login. Encrypt password with BCryptPasswor...

...dEncoder