bug fix: setted mail in lowercase during registration with certificate