UserSessionController::validate_code now correctly handles validation codes with leading zeros.