Fixed issue in SecurityService.findByUsername