fix tests for register API and remove unused bcrypt  module