Fixed the password encryption in LoginProcedure.sql