Fixed bug with creating new user (password wasn't encoded properly)